//
//  DEWBaseTableViewCell.m
//  OtherDemo
//
//  Created by lianjie on 2018/7/25.
//  Copyright © 2018年 lianjie. All rights reserved.
//

#import "DEWBaseTableViewCell.h"

@implementation DEWBaseTableViewCell


-(void)setLj_lineWith:(CGFloat)lj_lineWith
{
    _lj_lineWith = lj_lineWith;
    
    if (lj_lineWith > 0) {
        UIView *line = [[UIView alloc]init];
        line.backgroundColor = UIColorFromRGB(0xDCDCDC);
        [self.contentView addSubview:line];
        
        [line mas_makeConstraints:^(MASConstraintMaker *make) {
            
            make.right.equalTo(self);
            make.bottom.equalTo(self);
            make.width.mas_equalTo(lj_lineWith);
            make.height.mas_equalTo(1.0f);
            
        }];
    }
    
    
}


- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
